<%--
  Created by IntelliJ IDEA.
  User: WY2015092804
  Date: 2015/10/19
  Time: 15:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="j" uri="j/tags" %>
<%@ taglib prefix="joyi" uri="http://www.joyi.cn/tags" %>
<%@ taglib prefix="st" tagdir="/WEB-INF/tags" %>
<%@ taglib prefix="easyui" uri="http://www.joyi.cn/easyui/tags" %>
<st:dialog>
    <easyui:form formId="employeeList" formData="${result}" requestId="20151020000000000010">
        <easyui:hidden name="employeeId"></easyui:hidden>
        <table class="form_layout">
            <colgrop>
                <col style="width: 100px"/>
                <col/>
            </colgrop>
            <tr>
                <th>员工姓名：</th>
                <td><easyui:textbox name="employeeName" required="true"></easyui:textbox></td>
            </tr>

            <tr>
                <th>性别：</th>
                <td><easyui:comboBox name="gender" doName="employee/manager" required="true" actionName="gender"></easyui:comboBox></td>
            </tr>
            <tr>
                <th>婚否：</th>
                <td><easyui:comboBox name="marry" params="method=edit" required="true" doName="employee/manager" actionName="marry"></easyui:comboBox></td>
            </tr>
            <tr>
                <th>所属部门：</th>
                <td><easyui:comboBox name="departmentId" required="true"  params="method=edit"  doName="employee/manager" actionName="department"></easyui:comboBox></td>
            </tr>
            <tr>
                <th>职位：</th>
                <td><easyui:comboBox name="positionId" required="true"  params="method=edit" doName="employee/manager" actionName="position"></easyui:comboBox></td>
            </tr>
            <tr>
                <th>月薪：</th>
                <td><easyui:textbox name="salary"></easyui:textbox> </td>
            </tr>
            <tr>
                <th>出生日期：</th>
                <td><easyui:date name="birthday" editable="true" dataOptions="editable:true"></easyui:date></td>
            </tr>
        </table>

    </easyui:form>
    <script>
        function doAfterSave(data,_dialogArguments){
            _dialogArguments.parent.reloadEmployeeDataGrid();
        }

    </script>
</st:dialog>